/**
 * @title: LockProvider
 * @projectName magic-api
 * @Description TODO
 * @Author
 * @Date 2021/9/10 16:29
 */
package com.sugon.magicapi.module;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.locks.ReentrantLock;

@Configuration
public class LockProvider {
    @Bean
    public ReentrantLock getLock(){
        return new ReentrantLock();
    }
}
